﻿using System;
using YunSpace.Core;

namespace YunSpace.Application.Messaging.Sender
{
    public class SmsSender : MessageSender
    {

        public override void Send()
        {
            Console.WriteLine("发送短信");
        }

        protected override BeforeSendValidateState Validate()
        {
            return Phone.IsEmpty() ? BeforeSendValidateState.EmptyPhone : BeforeSendValidateState.Ok;
        }
    }
}
